package org.wanda.pv.service.conver.impl;

import org.springframework.stereotype.Service;
import org.wanda.pv.service.conver.PDFConverImage;

import java.util.Map;
import java.util.concurrent.ArrayBlockingQueue;

@Service
public class PDFConverImageImpl implements PDFConverImage{

    ArrayBlockingQueue<Map<String, Object>> arrayBlockingQueue1 = null;
    //ArrayBlockingQueue<Map<String, Object>> arrayBlockingQueue2 = null;
    public PDFConverImageImpl(){
        arrayBlockingQueue1= new ArrayBlockingQueue<>(500);
       // arrayBlockingQueue2= new ArrayBlockingQueue<>(500);
    }

    @Override
    public ArrayBlockingQueue<Map<String, Object>> toJpgQueue() {
        return arrayBlockingQueue1;
    }

   /* @Override
    public ArrayBlockingQueue<Map<String, Object>> toThumbnailQueue() {
        return arrayBlockingQueue2;
    }*/
}
